package com.itheima.service;

import com.hmall.common.dto.PageDTO;
import com.itheima.dto.ItemDoc;
import com.itheima.dto.search;

import java.util.List;
import java.util.Map;

public interface SearchService {

    PageDTO<ItemDoc> list(search search);

    List<String> suggestion(String prefix);

    Map<String, List<String>> filters(search search);
}
